import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:surfaceim/common/values/values.dart';
import 'package:surfaceim/common/widgets/widgets.dart';

import 'index.dart';
import 'widgets/widgets.dart';

class BasicinformationPage extends GetView<BasicinformationController> {
  const BasicinformationPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: appBar(title: '基本信息'),
      body: Container(
        color: AppColors.secondaryBackground,
        padding: EdgeInsets.fromLTRB(20.0.w, 0.0, 20.0.w, 0.0),
        child: SafeArea(
          child: ListView(
            physics: BouncingScrollPhysics(),
            children: [
              Padding(
                padding: EdgeInsets.fromLTRB(30.0.w, 20.0.h, 0.0, 25.h),
                child: tertiaryTitle(title: '工作信息'),
              ),
              CellBox(
                type: 'work',
              ),
              Padding(
                padding: EdgeInsets.fromLTRB(30.0.w, 20.0.h, 0.0, 25.h),
                child: tertiaryTitle(title: '学校信息'),
              ),
              CellBox(
                type: 'shool',
              ),
              Row(mainAxisAlignment: MainAxisAlignment.center, children: [
                Padding(
                  padding: EdgeInsets.only(top: 120.h),
                  child: primaryButtonWidget(
                    width: 460,
                    height: 90,
                    title: '下一步',
                    onPressed: () {},
                  ),
                )
              ]),
            ],
          ),
        ),
      ),
    );
  }
}
